WPDesk\FS\TableRate\FreeShipping\FreeShippingNotice S

Total Complexity 37
Dependencies 4
Dependents 1
Total lines 198
Lines of code 107
Logical lines of code 59
Comment lines 55
Methods 14
Properties 3

Methods 14

Method Rating Maintainability Complexity Lines of code
add_notice_if_should()
A
54 8 21
should_add_notice_on_current_page()
S
60 8 13
add_checkout_notice_to_fragments()
S
56 5 19
get_free_shipping_notice_data()
S
64 3 10
print_notice()
S
68 2 7
get_notice_message()
S
69 2 7
prepare_notice_text()
S
71 2 5
__construct()
S
74 1 5
hooks()
S
75 1 4
add_notice_if_should_via_wp_head()
S
75 1 4
add_checkout_notice_container()
S
80 1 3
get_left_free_shipping_notice_container()
S
79 1 3
get_container_class()
S
79 1 3
get_fragments_id()
S
78 1 3